package com.linkvin.ec.hcs.dao.mapper.mdm;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.linkvin.ec.hcs.dao.model.mdm.WarehouseLocation;
import com.linkvin.ec.hcs.dao.model.mdm.bo.WarehouseLocationBo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 仓库库位表 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2017-12-20
 */
public interface WarehouseLocationMapper extends BaseMapper<WarehouseLocation> {
    List<WarehouseLocationBo> queryPageWarehouseLoc(Page<WarehouseLocationBo> page, @Param("ew") Wrapper<WarehouseLocationBo> wrapper);

    List<WarehouseLocationBo> selectWarehouseLoc(@Param("code") String code);
}
